﻿using System;

using System.Text;

namespace MWS_Main.fckeditor.configuration
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load( object sender, EventArgs e )
        {
            StringBuilder configuracion = new StringBuilder();
            WebSiteMainConfiguration config = WebSiteMainConfiguration.GetConfig();
            configuracion.Append( "var configWebSite={" );
            configuracion.Append( "'skinPath':'/" + config.Settings["skinPath"].value + "'" );
            configuracion.Append( "};" );
            Response.ContentType = "application/json";
            Response.Write( configuracion.ToString() );
        }
    }
}